//
//  QueryBackOperation.m
//  PlayBall
//
//  Created by Huawen Liu on 12-8-13.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "JddQueryBackOperation.h"

@implementation JddQueryBackOperation

@synthesize BackMessage;
@synthesize Contact;

- (void)main{
    JddNetDataCommunication *netDataCommunication = [[JddNetDataCommunication alloc] init];
    
    NSString *bodyString = [JddParameterBuilder queryBackOperation:self.BackMessage contact:self.Contact];
    
    NSData *dataLotteryIssue = [netDataCommunication requestDataByPostBodyData:[bodyString dataUsingEncoding:NSUTF8StringEncoding]];    [((NSObject*)self.delegate) performSelectorOnMainThread:@selector(QueryBackOperationResult:) withObject:dataLotteryIssue waitUntilDone:NO];            
}

@end